﻿using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Reflection;
using System.Text;
using System.Threading.Tasks;

namespace WinHBM.Utils
{
    public class UtilRes
    {

        public static Stream GetStream(string assembly,string path)
        {
            Assembly assm = Assembly.GetExecutingAssembly();
            return assm.GetManifestResourceStream(assembly+ ".Resources." + path);
        }

    }
}
